package org.wmq.housewebadmin.service;

import org.wmq.housemodel.entity.Facility;
import org.wmq.housemodel.entity.Result;

import java.util.List;

public interface FacilityService {
    public abstract List<Facility> getList(Byte type);

    public abstract Result<Void> saveOrUpdate(Facility facility);

    boolean deleteById(Long id);
}
